package com.ruoyi.purchase.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购收货记录对象 biz_purchase_receive
 * 
 * @author ruoyi
 * @date 2025-06-16
 */
public class BizPurchaseReceive extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收货ID */
    private Long receiveId;

    /** 明细ID */
    @Excel(name = "明细ID")
    private Long itemId;

    /** 收货数量 */
    @Excel(name = "收货数量")
    private Long receiveQty;

    /** 收货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "收货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date receiveTime;

    /** 收货人 */
    @Excel(name = "收货人")
    private String receiveBy;

    public void setReceiveId(Long receiveId) 
    {
        this.receiveId = receiveId;
    }

    public Long getReceiveId() 
    {
        return receiveId;
    }

    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }

    public void setReceiveQty(Long receiveQty) 
    {
        this.receiveQty = receiveQty;
    }

    public Long getReceiveQty() 
    {
        return receiveQty;
    }

    public void setReceiveTime(Date receiveTime) 
    {
        this.receiveTime = receiveTime;
    }

    public Date getReceiveTime() 
    {
        return receiveTime;
    }

    public void setReceiveBy(String receiveBy) 
    {
        this.receiveBy = receiveBy;
    }

    public String getReceiveBy() 
    {
        return receiveBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("receiveId", getReceiveId())
            .append("itemId", getItemId())
            .append("receiveQty", getReceiveQty())
            .append("receiveTime", getReceiveTime())
            .append("receiveBy", getReceiveBy())
            .append("remark", getRemark())
            .toString();
    }
}
